<!--
Zeke Elder - zbe@andrew.cmu.edu
Amal Chemmany - achemman@andrew.cmu.edu
Nishant Kumar - nkumar1@andrew.cmu.edu
15-637
4/2/2012
-->
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<div id="header" class="header_container">
	<br /> <a href="./welcome.jsp"><img src="./images/fithub.jpg" /></a>
	<div id="home" class="menu_container">
		<button class="menu_item" onClick="parent.location='showHome.do'">
			Home</button>
		<button class="menu_item" onClick="parent.location='displayFriends.do'">Friends</button>
		<button class="menu_item" onClick="parent.location='displayWorkout.do'">Workouts</button>
		<button class="menu_item" onClick="parent.location='showGroups.do'">Groups</button>
		<button class="menu_item" onClick="parent.location='showNotifications.do'">Notifications</button>
	</div>
    <!--
	<div align="center">
		<form name="search" action="search.jsp" method="get">
			<input type="text" id="search_box"><input type="submit"
				value="Search Friends">
		</form>
	</div>
	-->
	<div class="user_profile">
		<img src="./image.do?userId=${user.userId}" height="50px" width="50px"
			alt="${user.getUsername()}" />
		<c:out value="${ user.getUsername() }" />
		-
		<c:out value="${ user.getFirstName() }" />
		<c:out value="${ user.getLastName() }" />
		<br /> <a href="updateProfile.jsp">Update profile</a>
		<br /> <a href="logout.do">Logout</a>
	</div>
</div>